package com.ruoyi.system.service;

import com.ruoyi.common.core.page.PageInFoDomain;
import com.ruoyi.system.domain.ElderlyFallRecord;

/**
 * @author jinyao
 */
public interface IElderlyFallRecordService {
    /**
     * list
     * @param record record
     * @return PageInFoDomain
     */
    PageInFoDomain<ElderlyFallRecord> list(ElderlyFallRecord record);

    /**
     * selectById
     * @param id id
     * @return ElderlyFallRecord
     */
    ElderlyFallRecord selectById(Long id);

    /**
     * 跌倒时插入
     * @param record record
     * @return int
     */
    int insert(ElderlyFallRecord record);

    /**
     * 结束跌倒
     * @param record record
     * @return int
     */
    int end(ElderlyFallRecord record);
}
